﻿using System;
using System.Collections.Generic;
using Domain;

namespace Presentation
{
    public interface IView
    {
        string FromName { get; }
        string FromValue { get; }

        string ToName { get; }
        string ToValue { set; }

        string[] Currencies { get; set; }

        Dictionary<string, string> Quotations { get; set; }

        string NewName { get; }
        string NewValue { get; }

        string ErrorMessage { set; }

        event Action OnConvertClick;
        event Action OnSaveQuotationsClick;
        event Action OnAddCurrencyClick;

        event Action<ILog, bool> OnLogCheckedChanged;

        void ClearError();
    }
}
